<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head>
<!--
Zeke Elder - zbe@andrew.cmu.edu
Amal Chemmany - achemman@andrew.cmu.edu
Nishant Kumar - nkumar1@andrew.cmu.edu
15-637
4/2/2012
--><title>Welcome to FitHub!</title>
<c:if test="${user == null}">
<c:redirect url="welcome.jsp"/>
</c:if>
<link href="css/groups.css" type="text/css" rel="stylesheet">
</head>

<body>
<div id="maindiv" class="body_container">
<table>
					<c:forEach var="error" items="${errors}">
						<tr>
							<h3 style="color: red">${error}</h3>
						</tr>
					</c:forEach>
</table>
<div class="centered_div">
<form name="groupAddForm" id="groupAddForm" action="createGroup.do" method="post">
<table>
<tbody>

<tr> <td colspan="4" align="center"><h1> Add New Group </h1></td> </tr>
<tr >

<td colspan="3" ><h3> Group Name :</h3></td> <td colspan="1"> <input type="text" id="groupName" name="groupName"/> </td></tr>
<tr>
<tr >

<td colspan="3" ><h3> Group Description :</h3></td> <td colspan="1"> <textarea id="groupDesc" name="groupDesc"></textarea> </td></tr>

<tr>

<td colspan="3" ><h3> Group Type :</h3> </td><td><input type="radio" name="groupType" value="Open" />Open Group<input type="radio" name="groupType" value="Closed" /> Closed group</td>
</tr>
<tr>
<td colspan="4" class="form_submit"><input type="submit"
									value="Create" /></td>
</tr>
</tbody>
</table>
</form>
</div>
</div>
</body></html>